﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Main/Main.master" AutoEventWireup="false" CodeFile="JoinGroup.aspx.vb" Inherits="Main_JoinGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:DropDownList ID="DDLGroups" runat="server" DataSourceID="DSGroups" 
    DataTextField="GroupName" DataValueField="ID">
    </asp:DropDownList>
    <asp:SqlDataSource ID="DSGroups" runat="server" 
    ConnectionString="<%$ ConnectionStrings:myFirstDatabase %>" 
    ProviderName="<%$ ConnectionStrings:myFirstDatabase.ProviderName %>" 
    SelectCommand="SELECT DISTINCT [ID], [GroupName] FROM [tblGroups]"></asp:SqlDataSource>
</asp:Content>

